package org.l.mybatis.demo.article;

import org.l.mybatis.core.annotation.DBField;
import org.l.mybatis.core.annotation.DBTable;

/**
 * Created by 严秋旺 on 2017/7/29.
 */
@DBTable("article")
public class Article {
    @DBField(primary = true)
    Integer id;
    String title;
    String content;

    public Article() {
    }

    public Article(int id) {
        this.id = id;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }
}
